<?php if (!defined('MAX_ON')){echo "<h1>ACCESS DENIED</h1>You cannot access this file directly.";exit();} ?>
<?php if ($template_hook=='start'){ ?>
<?php }elseif ($template_hook=='1'){ ?>
			<div id="header-menu-options">
				<div class="h_right f_right">
<?php if (isset($home)){ ?>
					<a class="header-menu-options-link" href="<?php echo "$home"; ?>"><?php echo $lang['navbar_home']; ?></a>
<?php }else{ ?>
					<a class="header-menu-options-link" href="<?php echo "$max_domain"; ?>"><?php echo $lang['navbar_home']; ?></a>
<?php } if ($rules!=''){ ?>
					<a class="header-menu-options-link" href="<?php echo "$rules"; ?>"><?php echo $lang['navbar_rules']; ?></a>
<?php } ?>
				</div>
<?php }elseif ($template_hook=='2'){ ?>
				<div class="h_left f_left">
<?php }elseif ($template_hook=='3'){ ?>
					<a class="header-menu-options-link" href="<?php echo max_link('index.php?page=gallery', 'gallery'); ?>"><?php echo $lang['navbar_gallery']; ?></a>
					<a class="header-menu-options-link" href="<?php echo max_link("index.php?page=list&list=members", "list/members"); ?>" rel="nofollow"><?php echo $lang['navbar_members']; ?></a>
					<a class="header-menu-options-link" href="<?php echo max_link("index.php?page=calendar", "calendar"); ?>" rel="nofollow"><?php echo $lang['navbar_calendar']; ?></a>
					<a class="header-menu-options-link" href="<?php echo max_link("index.php?page=search", "search"); ?>" rel="nofollow"><?php echo $lang['navbar_search']; ?></a>
					<a class="header-menu-options-link" href="<?php echo max_link("index.php?page=help", "help"); ?>"><?php echo $lang['navbar_help']; ?></a>
				</div>
			</div>
<?php }elseif ($template_hook=='end'){ ?>
<?php } ?>
